import request from "@/utils/request";

// 查询用户停留时间列表
export function userBehaviorListApi(query) {
  return request({
    url: "/system/hairBehaviorDetection/userBehaviorList",
    method: "get",
    params: query,
  });
}

// 查看详情
export function userBehaviorListDetialsApi(query) {
  return request({
    url: "/system/hairBehaviorDetection/getUserBehaviorInfo",
    method: "get",
    params: query,
  });
}

export function pageBehaviorListApi(query) {
  return request({
    url: "/system/hairBehaviorDetection/pageBehaviorList",
    method: "get",
    params: query,
  });
}

export function pageNotworkListApi(query) {
  return request({
    url: "/business/pageNotwork/list",
    method: "get",
    params: query,
  });
}

// 批量修改页面名称
export function batchUpdatePageName(data) {
  return request({
    url: "/system/hairBehaviorDetection/updatePageName",
    method: "post",
    data: data,
  });
}
